/*
 ============================================================================
 Name        : TwoDCDP.c
 Author      : Xiaoxin Tang
 Version     :
 Copyright   :
 Description : The 2DCDP Algorithm
 ============================================================================
 */
#include "Scheduler.h"
#include "Common.h"

int main(int argc, char *argv[]) {
	gettimeofday(&st,NULL);
	submit(argc, argv);
	gettimeofday(&end,NULL);
	total_time = calculateTime(end, st);
	overhead_time = total_time - alg_image_init_time - nextcdp_time 
			- backtrace_time - alg_finalize_time;
	printf("%d\t%lf\t%lf\t%lf\t%lf\t%lf\t%lf\n", rank, alg_image_init_time, nextcdp_time, 
			backtrace_time, alg_finalize_time, overhead_time, total_time);
	return 0;
}
